package com.yidu.drug.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.yidu.drug.common.Page;
import com.yidu.drug.common.Tools;

public class DrugModel implements Serializable {
    private String drugId;

    private String dtId;

    private String speId;

    private String drugImg;

    private String drugBarCode;

    private String drugName;

    private BigDecimal drugPrice;

    private Integer sort;

    private String operator;

    private Date cztime;

    private String isva;

    private String pov;

    private Date dom;

    private BigDecimal drugPrices;

    private String drugPinyin;

    private static final long serialVersionUID = 1L;
    
    private Page page;
    
    private String time;
    
    private String priceMin;
    
    private String priceMax;
    
    private String filId;
    
    

    public String getFilId() {
		return filId;
	}

	public void setFilId(String filId) {
		this.filId = filId;
	}

	public String getPriceMin() {
		return priceMin;
	}

	public void setPriceMin(String priceMin) {
		this.priceMin = priceMin;
	}

	public String getPriceMax() {
		return priceMax;
	}

	public void setPriceMax(String priceMax) {
		this.priceMax = priceMax;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	public String getTime() {
		time=Tools.getTimeStr(cztime);
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getDrugId() {
        return drugId;
    }

    public void setDrugId(String drugId) {
        this.drugId = drugId;
    }

    public String getDtId() {
        return dtId;
    }

    public void setDtId(String dtId) {
        this.dtId = dtId;
    }

    public String getSpeId() {
        return speId;
    }

    public void setSpeId(String speId) {
        this.speId = speId;
    }

    public String getDrugImg() {
        return drugImg;
    }

    public void setDrugImg(String drugImg) {
        this.drugImg = drugImg;
    }

    public String getDrugBarCode() {
        return drugBarCode;
    }

    public void setDrugBarCode(String drugBarCode) {
        this.drugBarCode = drugBarCode;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public BigDecimal getDrugPrice() {
        return drugPrice;
    }

    public void setDrugPrice(BigDecimal drugPrice) {
        this.drugPrice = drugPrice;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getCztime() {
        return cztime;
    }

    public void setCztime(Date cztime) {
        this.cztime = cztime;
    }

    public String getIsva() {
        return isva;
    }

    public void setIsva(String isva) {
        this.isva = isva;
    }

    public String getPov() {
        return pov;
    }

    public void setPov(String pov) {
        this.pov = pov;
    }

    public Date getDom() {
        return dom;
    }

    public void setDom(Date dom) {
        this.dom = dom;
    }

    public BigDecimal getDrugPrices() {
        return drugPrices;
    }

    public void setDrugPrices(BigDecimal drugPrices) {
        this.drugPrices = drugPrices;
    }

    public String getDrugPinyin() {
        return drugPinyin;
    }

    public void setDrugPinyin(String drugPinyin) {
        this.drugPinyin = drugPinyin;
    }
    
    private String dtName;
    
    private String speIndications;

	public String getDtName() {
		return dtName;
	}

	public void setDtName(String dtName) {
		this.dtName = dtName;
	}

	public String getSpeIndications() {
		return speIndications;
	}

	public void setSpeIndications(String speIndications) {
		this.speIndications = speIndications;
	}
    
}